<!-- js 파일 import -->
<!--%import("js/webmini.js")-->

<!-- 레이아웃과 연동될 css 파일 import -->
<!--%import("css/default.css")-->

<!--@if($layout_info->background_image)-->
<style type="text/css">
    body { background:#FFFFFF url({getUrl()}{$layout_info->background_image}) repeat-x center top; }
</style>
<!--@else-->
<style type="text/css">
    body { background:#FFFFFF url({$layout_info->path}/images/default/bg.gif) repeat-x center top; }
</style>
<!--@end-->

<div id="bodyWrap">
	<div id="header">
		<h1><a href="{$layout_info->index_url}"><!--@if(!$layout_info->logo_image)--><img src="./images/{$layout_info->colorset}/logo.gif" alt="자주와" title="자주와" class="iePngFix" /><!--@else--><img src="{$layout_info->logo_image}" alt="자주와" border="0" class="iePngFix" /><!--@end--></a><a href="{$layout_info->index_urltu}"><!--@if(!$layout_info->logo_image)--><img src="./images/{$layout_info->colorset}/logo.gif" alt="자주와" title="자주와" class="iePngFix" /><!--@else--><img src="{$layout_info->logo_imagetu}" alt="자주와" border="0" class="iePngFix" /><!--@end--></a></h1>

		<div id="mini_gnb">
			<ul>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>				<!--@if($logged_info)-->
				<li><strong>{$logged_info->nick_name}</strong>님 반갑습니다.</li>
				<li><a href="{getUrl('act','dispMemberLogout')}"><img src="./images/{$layout_info->colorset}/btn_mini_logout.gif" alt="로그아웃" title="로그아웃" class="bul" /></a></li>
				<li class="bar">|</li>
                <li class="pointer"><span onmouseover="divDisplay('1','true')" onmouseout="divDisplay('1','false')">마이페이지 <img id="arrow1" src="../layouts/zazuwa_sebe/images/button/btn_mini_off.gif" alt="" class="bul"></span></li>
				<!--@else-->
				<li><a href="{getUrl('act','dispMemberLoginForm')}"><img src="./images/{$layout_info->colorset}/btn_mini_login.gif" alt="로그인" title="로그인" class="bul" /></a></li>
				<!--@end-->
				<!--@if(!$logged_info)-->
				<li><a href="{getUrl('act','dispMemberSignUpForm')}" title="회원가입">회원가입</a></li>
				<!--@end-->
</td>
    <td><div align="right">          <li><a href="/News" title="뉴스">뉴스</a></li>
                                     <li class="bar">|</li>
				<li><a href="/Community" title="커뮤니티">커뮤니티</a></li>
				<li class="bar">|</li>
				<li><a href="/Information_Square" title="정보광장">정보광장</a></li>
				<li class="bar">|</li>
				<li><a href="/life" title="라이프">라이프</a></li>
                                    <li class="bar">|</li>
				<li><a href="/Shelter" title="쉼터">쉼터</a></li>
                                    <li class="bar">|</li>
             			<li><a href="/erzzang" title="얼짱">얼짱</a></li>
                                    <li class="bar">|</li>
				<li><a href="/Video" title="동영상">동영상</a></li>
                                    <li class="bar">|</li>
				<li><a href="/archives" title="자료실">자료실</a></li>
                                    <li class="bar">|</li>
				<li><a href="/Playground" title="놀이터">놀이터</a></li>
                                    <li class="bar">|</li>
				<li><a href="/Restaurants" title="맛집">맛집</a></li>
                                    <li class="bar">|</li>
				<li><a href="/wkwndhkthro" title="고객센터">고객센터</a></li>

</div></td>
  </tr>
</table>			</ul>

            <!-- 미니메뉴 -->
            <div id="minimenu1" onmouseover="divDisplay('1','true')" onmouseout="divDisplay('1','false')">
                <ul>
                    <li><a href="{getUrl('act','dispMemberInfo')}">회원정보</a></li>
                    <li><a href="{getUrl('act','dispMemberScrappedDocument')}">스크랩보기</a></li>
                    <li><a href="{getUrl('act','dispMemberSavedDocument')}">저장함</a></li>
                    <li><a href="{getUrl('act','dispMemberOwnDocument')}">작성글보기</a></li>
                    <li><a href="{getUrl('act','dispCommunicationFriend')}">친구보기</a></li>
                    <li><a href="{getUrl('act','dispCommunicationMessages')}">쪽지함</a></li>
                </ul>
            </div>
            <!--// 미니메뉴 -->
		</div>

<!-- 시작페이지로 설정 시작 -->
		<div id="language">
<!-- 시작페이지로 -->
<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.zazuwa.com');"><img border="0" src="./images/{$layout_info->colorset}/sheweishouye.gif" /></a>
<!--즐겨찾기 -->
<a href=#><img border="0" src="images/{$layout_info->colorset}/shoucang.gif" id="shoucang" onClick="window.external.addFavorite('http://www.zazuwa.com','자주와')" /></a>
		</div>
<!-- 시작페이지로 설정 끝 -->


<!-- 공지사항 시작 -->
		<div id="gonggao">
<img class="zbxe_widget_output" widget="newest_document" skin="news_ticker" colorset="none" title="공지사항" order_target="list_order" order_type="desc" subject_cut_size="25" display_regdate="Y" module_srls="67" />
		</div>
<!-- 공지사항 끝 -->


		<!--GNB-->
		<ul id="gnb">
			<!-- main_menu 1차 시작 -->
			<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
			<!--@if($val['selected'])-->
			{@ $menu_1st = $val }
			<!--@end-->

                <li <!--@if($val['selected'])-->class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a></li>

			<!--@end--><!--@end-->
			<!-- main_menu 1차 끝 -->
		</ul>
		<!--//GNB-->
		
<!-- 검색기능 -->
            <form action="{getUrl()}" method="post" id="isSearch">
            <input type="hidden" name="mid" value="{$mid}" />
            <input type="hidden" name="act" value="IS" />

			<input name="search_target" type="radio" value="title" id="search_target" class="searchOrder" checked="checked" title="search option" />
			<label for="search_target" class="checked" id="search_target_label" onclick="showHide('selectOrder'); return false">{$lang->title}</label>
			<ul id="selectOrder">
				<li>
					<input type="radio" name="search_target" value="title" id="search_target1" />
					<label for="search_target1" onclick="chkIsKind(1, '{$lang->title}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->title}</label>
				</li>
				<li>
					<input type="radio" name="search_target" value="content" id="search_target2" />
					<label for="search_target2" onclick="chkIsKind(2, '{$lang->content}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->content}</label>
				</li>
				<li>
					<input type="radio" name="search_target" value="title_content" id="search_target3" />
					<label for="search_target3" onclick="chkIsKind(3, '{$lang->title}+{$lang->content}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->title}+{$lang->content}</label>
				</li>
				<li>
					<input type="radio" name="search_target" value="comment" id="search_target4" />
					<label for="search_target4" onclick="chkIsKind(4, '{$lang->comment}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->comment}</label>
				</li>
				<li>
					<input type="radio" name="search_target" value="tag" id="search_target5" />
					<label for="search_target5" onclick="chkIsKind(5, '{$lang->tag}'); return false;" onmouseover="this.className='on'" onmouseout="this.style.background='none'">{$lang->tag}</label>
				</li>
			</ul>
			<input name="is_keyword" type="text" class="inputText" title="keyword" />

			<input type="image" src="./images/{$layout_info->colorset}/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit" />
		</form> 
<!-- 검색기능 끝 -->
	</div>
	<div id="contentBody">
		<div id="columnLeft">

			<!-- 로그인 위젯 -->
<img class="zbxe_widget_output" widget="login_info" skin="moyiza" />

			<!-- 왼쪽 2차 메뉴 -->
			<img src="./images/blank.gif" alt="" class="mask" />
			<!--@if($menu_1st)-->
			<div id="lnbWrap">
				<img src="./images/default/lnb_bg_t.gif" alt="" />
				<ol id="lnb">
					{@ $idx = 1 }
					<!--@foreach($menu_1st['list'] as $key => $val)--><!--@if($val['link'])-->
					<li <!--@if($val['selected'])-->
					class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$val['link']}</a>

					<!-- main_menu 3차 시작 -->
					<!--@if($val['list'] && ($val['expand']=='Y'||$val['selected']) )-->
					<ul>
						<!--@foreach($val['list'] as $k => $v)--><!--@if($v['link'])-->
						<li <!--@if($v['selected'])-->class="on"<!--@end-->><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$v['link']}</a></li>
						<!--@end--><!--@end-->
					</ul>
					<!--@end-->
					</li>
					{@$idx++}
					<!--@end--><!--@end-->
				</ol>
				<img src="./images/default/lnb_bg_b.gif" alt="" />
			</div>
			<!--@end-->
			<img src="./images/blank.gif" alt="" class="mask" />
<img class="zbxe_widget_output" widget="gagachat" skin="default" chatroom="@@@yiyagi" roomkey="6e1c59fe1ded0219cdf6770793156fd2" gagaadmin="admin" gposition="2" gnickname="1" gheight="280" gfonttype="180" fontlarge="small" server="1" />

			<!-- RSS 아이콘 -->
			<div id="rsswrap">
				<a href="/rss" class="rss_icon">
				Subscribe to <abbr title="Really Simple Syndication">RSS</abbr> articles
				</a>
			</div>

		</div>
		<div id="columnRight">
			<!-- 컨텐츠 시작 -->
			{$content}
		</div>
	</div>
	<div id="footer">
		<ul>
			<!--@foreach($bottom_menu->list as $key => $val)-->
			<li><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end--> title="{$val['link']}">{$val['link']}</a></li>
			<!--@end-->
		</ul>
		<p>본 사이트에서는 회원분들의 게시된 이메일 주소가 무단으로 수집되는 것을 거부합니다. ????에 게시된 정보 및 게시물의 저작권과 기타 법적 책임은 자료제공자에게 있습니다.</p>
		<address>
		Copyright &copy; 2003 - 2008 <a href="#" title="zazuwa.com">????</a> All Rights Reserved.
		</address>
	</div>
</div>
